package com.dks.repository;

import java.util.*;
import com.dks.models.Parent;

public interface IParentRepository {

    Integer insert(Parent parent);

    Integer update(Parent parent);

    Integer delete(Integer id);

    Parent select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<Parent> getByMapList(Map<String, Object> map);

    Integer updateByCode(Parent parent);

    Parent selectByBfCode(String bfCode);
}
